#ifndef __IVECTORCONTAINER_H__
#define __IVECTORCONTAINER_H__

#include "CTypes.h"


template <typename T>
class IVectorContainer : public std::vector<T*>
{
public:

	IVectorContainer()
	{
	}

	virtual ~IVectorContainer()
	{
	}

	void DeleteListNodes()
	{
		while (this->size()>0)
		{
			T *ActualNode = *(this->end()-1);
			delete ActualNode;
			this->erase(this->end()-1);
		}
	}
};

#endif
